<!-- 操作栏 -->
{{if !empty($module_data)}}
    <a class="am-btn am-btn-default am-btn-xs am-radius am-btn-block" href="{{:MyUrl('index/design/index', ['id'=>$module_data['id']])}}" target="_blank">
        <i class="am-icon-eye"></i>
        <span>查看</span>
    </a>
    <button type="button" class="am-btn am-btn-warning am-btn-xs am-radius am-btn-block submit-ajax" data-url="{{:MyUrl('admin/design/sync')}}" data-id="{{$module_data.id}}" data-msg="数据同步到首页拖拽可视化中、之后再修改数据不受影响、但是不要删除相关附件">
        <i class="am-icon-refresh"></i>
        <span>同步</span>
    </button>
    <a class="am-btn am-btn-success am-btn-xs am-radius am-btn-block" href="{{:MyUrl('admin/design/download', array_merge($params, ['id'=>$module_data['id']]))}}" target="_blank">
        <i class="am-icon-download"></i>
        <span>下载</span>
    </a>
    <a class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block" href="{{:MyUrl('admin/design/saveinfo', array_merge($params, ['id'=>$module_data['id']]))}}" target="_blank">
        <i class="am-icon-edit"></i>
        <span>编辑</span>
    </a>
    <button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/design/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
        <i class="am-icon-trash-o"></i>
        <span>删除</span>
    </button>
{{/if}}